<?php

/**
 * @author christian
 * @copyright 2011
 */

//echo "registrar ....";
//echo getcwd();
//echo basename(getcwd());
$ruta=$_SERVER['DOCUMENT_ROOT']."/viventura"."/MDTour";
include_once("$ruta/conf/CConfig.php");
include_once("$ruta/elements/head.tpl");
include_once("$ruta/MDItinerary/MDItineraryEditDraw.php");
include_once("$ruta/MDTourGeneral/CTourEditDraw.php");
include_once("$ruta/MDTourGeneral/CDrawPageReg.php");
include_once("$ruta/view/CDrawMenuTour.php");
include_once("$ruta/star.php");
include_once("js/reloader.php");



$action="contacto.php";$method="post"; //solo paso default, el codigo lo recogo en CTourEdit
CDrawPageReg::getInstance()->DrawHeadAjax($action,$method,"fromular");


$operadores = array("Operador"=>"idOpe","Nombre del Operador"=>"NamOpe");
CTourEditDraw::getInstance()->DrawMultiple("operador",$operadores,"Operadores");


$boundaries = array ("Fecha inicial","Fecha terminal");
CDrawPageReg::getInstance()->DateFromTo("Buscar",$boundaries);

echo "</br><p align='right'>";

CDrawPageReg::getInstance()->DrawSubmmit("Filtrar");
CDrawPageReg::getInstance()->DrawDivAjax();

echo "</p>";

CDrawPageReg::getInstance()->DrawFoot();
include_once("$ruta/elements/foot.tpl");







?>